package com.zyzo.demo.appengine.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;


@SuppressWarnings("serial")
public class User implements Serializable {
	
	@Id
	private Long id;
	private String password;
	private String firstname;
	private String lastname;
	private String email;
	private String phone;
	private Date   subscriptionDate;

	public User() {

	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFirstname() {
		return firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String mail) {
		this.email = mail;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getSubscriptionDate() {
		return subscriptionDate;
	}

	public void setSubscriptionDate(Date d) {
		this.subscriptionDate = d;
	}


}
